package _0_语法._3_分支;

import java.util.Scanner;

public class _8_是奇数还是偶数 {

    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);
        int num;

        System.out.println("请输入一个整数：");
        num = scanner.nextInt();

        if(num % 2 == 0){
            System.out.println("偶数");
        }
        else{
            System.out.println("奇数");
        }
    }
}
